execute as @e[type=minecraft:item,nbt={Item:{id:"minecraft:gold_ingot",Count:1b}}] at @s if block ~ ~-1 ~ minecraft:purpur_block if block ~ ~-2 ~ minecraft:soul_sand if block ~ ~-2 ~1 minecraft:glowstone if block ~ ~-2 ~-1 minecraft:glowstone if block ~1 ~-2 ~ minecraft:glowstone if block ~-1 ~-2 ~ minecraft:glowstone if block ~1 ~-2 ~-1 minecraft:netherrack if block ~1 ~-2 ~1 minecraft:netherrack if block ~-1 ~-2 ~1 minecraft:netherrack if block ~-1 ~-2 ~-1 minecraft:netherrack run function sire:craft/lightning